package com.wkf.truck.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.lang.annotation.Repeatable;
import java.sql.Timestamp;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author lxb
 * @since 2021-02-14
 */
@Data
@TableName("favorite")
public class Favorite extends Model<Favorite> {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.ID_WORKER)
    private Long id;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 货车id
     */
    private Long truckId;

    /**
     * 货车类型
     */
    private String truckType;

    /**
     * 货车司机
     */
    private String truckDriver;

    /**
     * 创建时间
     */
    private Timestamp createTime;

    /**
     * 载重
     */
    private String truckCapacity;

    /**
     * 货车图片
     */
    private String truckImg;

    /**
     * 收藏状态 0：取消状态 1：收藏
     */
    private String status;
}
